public class remainder{
  public static void main(String args[]){
    System.out.println("5.2%3.1="+5.2%3.1);
    System.out.println("5.2%-3.1="+5.2%-3.1);
    System.out.println("-5.2%3.1="+-5.2%3.1);
    System.out.println("-5.2%-3.1="+-5.2%-3.1);
  }
}
